<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <TITLE>ThinkPHP示例：Hello,ThinkPHP</TITLE>
<link rel='stylesheet' type='text/css' href='__PUBLIC__/Css/common.css'>
 </HEAD>
 <BODY>
 <div class="main">
 <H2>ThinkPHP示例之Hello,ThinkPHP</H2>
最简单的示例，可以根据输入的名称来问候。
 <TABLE  cellpadding=3 cellspacing=3>
  <TR>
	<TD ><div class="result">Hello,
	<?php if(isset($_POST['name'])):?><span style="color:red;font-weight:bold">{$Think.post.name}</span>
	<?php else:?>ThinkPHP! <?php endif;?>！
	</div></TD>
 </TR>
   <FORM METHOD=POST ACTION="__URL__">
 <TR>
	<TD class="tLeft" >您的大名：<INPUT TYPE="text" NAME="name" style="height:26px" class="medium bLeft"> <INPUT TYPE="submit" class="button" value="提 交"></TD>
 </TR>
   </FORM>
 <TR>
	<TD ><HR> 示例源码<BR>控制器IndexAction类<BR><php>highlight_file(LIB_PATH.'Action/IndexAction.class.php');</php>
	</TD>
 </TR>
 </TABLE>
</div>
 </BODY>
</HTML>
